<template>
  <div>
   
    <MySon ref="Mybox"/>

    <button @click="submit">提交</button>
  </div>
</template>

<script>


//vue该组件的核心配置项
import MySon from './components/MySon.vue'
export default {
  components:{
    MySon
  },
  methods:{
    submit(){
      this.$refs.Mybox.modify()
    },
  },
}
</script>